db3da6c0152119c1b922e66cb31be913fdd9b778,core/core-asyncserver/src/test/java/org/webpieces/nio/api/integ/IntegTestLocalhostThroughput.java,IntegTestLocalhostThroughput,testSoTimeoutOnSocket,#,41
Before Change
ChannelManagerFactory factory = ChannelManagerFactory.createFactory();
ChannelManager mgr = factory.createMultiThreadedChanMgr("server", pool, executor);
AsyncServerManager server = AsyncServerMgrFactory.createAsyncServer(mgr);
server.createTcpServer(new AsyncConfig("tcpServer", new InetSocketAddress(8080)), new IntegTestLocalhostServerListener());
BufferPool pool2 = new BufferCreationPool();
DataListener listener = new ClientDataListener(pool2, recorder);
After Change
BufferPool pool = new BufferCreationPool();
ChannelManagerFactory factory = ChannelManagerFactory.createFactory();
ChannelManager mgr = factory.createMultiThreadedChanMgr("server", pool, executor);
AsyncServerManager serverMgr = AsyncServerMgrFactory.createAsyncServer(mgr);
AsyncServer server = serverMgr.createTcpServer(new AsyncConfig("tcpServer"), new IntegTestLocalhostServerListener());
server.start(new InetSocketAddress(8080));
BufferPool pool2 = new BufferCreationPool();
DataListener listener = new ClientDataListener(pool2, recorder);